<?php
	//----------------------- INPUT ELEMENTS -------------------//
	$group_id		= $this->formHidden('group_id',$this->Item['group_id']);
	$status 		= $this->formHidden ( 'status', $this->Item['status']);
	$user_name		= $this->formHidden('user_name',$this->Item['user_name']);
	$user_name 		= $this->Item['user_name'] . $user_name . $group_id . $status;
	
	$password 			= $this->formPassword('password', '', array ('class' => 'txtmedium active')) . '<div class="view_error" id="view_password"></div>';
	$password_new 		= $this->formPassword('password_new', '', array ('class' => 'txtmedium')) . '<div class="view_error" id="view_password_new"></div>';
	$password_confirm	= $this->formPassword('password_confirm', '', array ('class' => 'txtmedium')) . '<div class="view_error" id="view_password_confirm"></div>';
	
	$arrInput = array(
				array('label' => 'Tài khoản','input' => '<span class="text dam">'.$user_name.'</span>'),
				array('label' => 'Mật khẩu hiện tại','input' => $password),
				array('label' => 'Mật khẩu mới','input' => $password_new),
				array('label' => 'Nhập lại mật khẩu mới','input' => $password_confirm),
			);
?>
<div class="left_content">
	<?php echo $this->render($this->arrParam['controller'] . '/toolbar/left.php');?>
</div>

<div class="right_content">
	<div class="appContent">
		<form action="" method="post" name="appForm" enctype="multipart/form-data">
			<?php echo $this->render($this->arrParam['controller'] . '/toolbar/index.php');?>
			<?php
			if($this->arrParam['save'] == 'ok'){
				echo '<div class="thongbaoThanhCong goc5">Xử lý dữ liệu thành công</div>';
			} 
			?>
			<?php
				//-------------------- SESSAGES ERROR ------------------
				if(count($this->messageError)>0){
					foreach ($this->messageError AS $key => $val){
						echo '<div class="listError" data="'.$key.'" rel="' . $val . '"></div>';
					}
					echo '<div class="thongbaoError goc5">Có lỗi trong quá trình xử lý.</div>';
				} 
			?>
			<div id="tabs">
				<ul>
					<li><a href="#tabs-1">Thông tin chung</a></li>
				</ul>
				<div id="tabs-1">
					<div class="tblForm">
						<div class="tbl_content">
							<table class="adminformlist">
								<?php echo $this->partialLoop('row.php', $arrInput);?>
							</table>
						</div>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<div class="clr"></div>	